@media screen and (max-width:768px){
    .search-input{
        width: 140px !important;
    }
}

.main {
    padding-left: 0;
    padding-right: 0;
}

.layui-layout-admin .layui-logo {
    width: 150px;
    cursor: pointer;
}

.layui-layout-left {
    left: 150px;
}

.layui-logo img {
    margin-right: 6px;
    width: 25px;
    vertical-align: text-top;
}

.layui-layout-left, .layui-layout-right {
    display: flex;
    align-items: center;
    height: 100%;
}

.layui-blue {
    color: #1e9fff !important;
    text-decoration: underline;
}

.layui-form-select dl dd.active {
    background-color: #5FB878;
    color: #fff;
}

#userImg {
    font-size: 18px;
    font-weight: bold;
    margin-right: 5px;
}

#username {
    display: inline-block;
    width: 44px;
    line-height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-input {
    position: relative;
    width: 240px;
    height: 30px;
    margin-right: 10px;
}

.search-input input {
    height: 100%;
    font-size: 12px;
    border: none;
    background-color: #393d49;
    color: #b2b2b2;
    padding-left: 24px;
    padding-right: 26px;
}

.search-input .search-close {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 20px;
    color: #666;
    display: none;
    cursor: pointer;
}

.category{
    margin: 10px 0 20px;
}

.category .title{
    margin-left: 20px;
    padding: 0 10px;
    font-size: 20px;
    font-weight: 300;
    border-left: 6px solid #009688;
    cursor: pointer;
    display: inline-block;
}

.favorites {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 10px;
}

.favorites li {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.favorites li .favorites-bg {
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    border-radius: 50%;
}

.favorites li .favorites-bg img {
    width: 50%;
    height: 50%;
    border: 0;
}

.favorites li.active {
    background-color: #F6F6F6;
}

.favorites li:hover {
    background-color: #F6F6F6;
}

.favorites li:hover .favorites-bg {
    background-color: #eeeeee;
}

.favorites li p {
    width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 10px;
    text-align: center;
}

.favorites li .action-icon {
    position: absolute;
    top: 4px;
    right: 0;
    font-size: 20px;
    font-weight: bold;
    color: #606266;
    display: none;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
}

.favorites li:hover .action-icon {
    display: block;
}

/** 开源信息 **/
.open-source {
    font-size: 12px;
    display: flex;
    justify-content: center;
}

.open-source .open-source-aux {
    margin: 0 4px;
}

.open-source .open-source-item {
    display: flex;
    align-items: center;
}

.style-select .layui-form-switch{
    border-color: #393d49;
    background-color: #393d49;
    margin: 0;
}

/** 书签模式 **/
.bookmark .favorites li{
    flex-direction: row !important;
}

.bookmark .favorites li .favorites-bg{
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    text-align: center !important;
    border-radius: 0 !important;
}

.bookmark .favorites li .favorites-bg img{
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    vertical-align: baseline !important;
}

.bookmark .favorites li:hover .favorites-bg{
    background-color: transparent !important;
}

.bookmark .favorites li p{
    width: 300px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    margin-top: 0 !important;
    text-align: left !important;
    margin-left: 10px !important;
    line-height: 30px !important;
    padding-right: 4px !important;
}

.bookmark .favorites li .action-icon{
    top: 12px !important;
    right: 4px !important;
}

/* 目录 */
.catalog {
    padding: 10px 20px 30px 20px;
    height: 200px;
    overflow: auto;
}

.catalog ul {
    display: flex;
    flex-wrap: wrap;
    margin-top: 6px;
}

.catalog li {
    height: 20px;
    line-height: 20px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 400;
    border-radius: 4px;
    background: #f2f4f6;
    color: #6a6a6a;
    margin-right: 8px;
    margin-top: 8px;
    cursor: pointer;
}

.catalog li:hover{
    color: #fff !important;
    background-color: #009688 !important;
    transition: 0.2s;
}


.catalog li.active {
    color: #fff !important;
    background-color: #009688 !important;
    transition: 0.2s;
}

.notFoundDiv {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.notFoundDiv img {
    width: 100px;
    display: block;
    margin: 0 auto;
}

.notFoundDiv span{
    display: block;
    text-align: center;
    font-size: 24px;
    color: #c2c2c2;
    margin-top: 20px;
}

.search-items {
    position: absolute;
    top: 32px;
    left: 0;
    width: 100%;
    background: #393d49;
    color: #b2b2b2;
    border-radius: 4px;
    display: none;
}

.search-items li {
    padding-left: 10px;
    padding-right: 26px;
    cursor: pointer;
    line-height: 26px;
    font-size: 12px;
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}

.search-items li:last-child {
    margin-bottom: 6px;
}

.search-items li .history-close {
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 0;
    right: 8px;
    display: none;
    font-weight: bold;
}

.search-items li.hover-in .history-close {
    display: block;
}

.search-items li.hover-in {
    background: #5fb878;
    color: #fff;
}

#slideBtn {
    display: inline-block;
    width: 42px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    background-color: #393D49;
    color: #fff;
    border-radius: 2px;
    opacity: .95;
    margin-right: 10px;
    margin-bottom: 10px;
}

#slideBtn:hover {
    opacity: .8;
}

#slideBtn ~ .layui-btn {
    padding: 0 15px;
}

.url_loading {
    color: #009688;
    font-size: 20px;
    font-weight: bold;
    margin-top: 6px;
}

.copy-btn {
    margin-top: 8px;
    border-color: #FF5722!important;
    color: #FF5722!important;
}

.backupList .layui-form-checkbox{
    width: 104px;
    overflow: hidden;
}

/* 目录搜索 */
.catalog-search {
    position: relative;
    height: 30px;
}

.catalog-search input {
    height: 100%;
    font-size: 12px;
    padding-left: 26px;
    padding-right: 26px;
}

.catalog-search .catalog-search-close {
    position: absolute;
    top: 5px;
    right: 4px;
    font-size: 20px;
    color: #666;
    display: none;
    cursor: pointer;
}

.catalog-search .catalog-search-icon {
    position: absolute;
    top: 8px;
    left: 6px;
    font-size: 14px;
    color: #999;
    cursor: pointer;
}

.layui-textarea {
    min-height: 70px;
}

.shortcut-mike {
    position: absolute;
    top: 8px;
    right: -30px;
    font-size: 22px;
    cursor: pointer;
    color: #5e6d82;
}

.search-mike {
    position: absolute;
    top: 6px;
    left: 6px;
    font-size: 16px;
    color: #999;
    cursor: pointer;
}

.positionNav {
    padding-left: 20px;
    padding-bottom: 4px;
}

.deleteFastNav {
    top: 0px !important;
    font-size: 18px !important;
    font-weight: normal !important;
}

#fastNav .favorites {
    margin-bottom: 24px !important;
}

.local-tip {
    display: inline-block;
    font-size: 18px;
    color: #5e6d82;
    cursor: pointer;
    margin-left: 6px;
    vertical-align: -34%;
}

#cleanData {
    cursor: pointer;
    color: #1e9fff;
    display: block;
    width: 100px;
    margin: 0 auto;
    margin-top: 10px;
}

#addCategoryIcon,#addCategoryIconEdit {
    margin-top: 8px;
    display: inline-block;
    font-size: 20px;
    color: #5e6d82;
    cursor: pointer;
}

.notice-panel {
    padding: 30px;
    line-height: 30px;
    background-color: #393D49;
    color: #fff;
    font-weight: 300;
    min-height: 200px;
}

.favorites-link {
    margin: 0px 15px 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.favorites-link .layui-icon-link {
    margin-right: 10px;
    color: #1E9FFF;
    font-size: 14px;
}

.favorites-link p {
    margin-right: 10px;
    max-width: 300px;
}

.favorites-link .link-url {
    color: #5e6d82;
}

.templateDiv .content {
    padding: 20px;
    line-height: 24px;
    word-break: break-all;
    font-size: 14px;
}

.templateDiv .layui-btn-container {
    text-align: right;
    padding: 0 5px 2px;
    pointer-events: auto;
    user-select: none;
}

#favoritesSetTop,#categorySetTop{
    float: left;
    display: block;
    padding: 9px 0;
    line-height: 20px;
    margin-right: 10px;
    color: #1e9fff;
    cursor: pointer;
}